package com.shunli.cterminal.model.req;

import com.examples.core.jsonserialize.StringToLongDeserializer;
import com.examples.core.req.BasePagingBody;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @ClassName: MyOrderQueryReq
 * @Description: TODO
 * @Author: DAIYALU
 * @Date: 2024/11/11
 * @Version: 1.0
 */
@Data
@Schema(name = "MyOrderQueryReqBody", description = "我的订单查询 Request VO")
public class MyOrderQueryReq extends BasePagingBody {

    private static final long serialVersionUID = -197441229618224930L;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "订单号")
    private String orderId;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "收款状态 0-未收款 1-已收款")
    private Integer state;

    private Long id;

    private String uid;

    @Schema(description = "上次分页，最后一条数据id")
    @JsonDeserialize(using = StringToLongDeserializer.class)
    private Long minId;

}
